package visitor;

/**
 * 访问者抽象类
 */
public abstract class User {
    private String name;
    private String identity;
    private String clazz;

    public User(String name, String identity, String clazz) {
        this.name = name;
        this.identity = identity;
        this.clazz = clazz;
    }

    abstract void accept(Visitor visitor);
}
